package com.za.apm.cat.config;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import com.dianping.cat.Cat.Context;

/**
 * 类CatContext.java的实现描述：
 * 
 * @author: tongyufu 2017-11-22 13:49:30
 */
public class CatContext implements Context, Serializable {

	private static final long serialVersionUID = 1L;
	private Map<String, String> props = new HashMap<String, String>();

	@Override
	public void addProperty(String key, String value) {
		props.put(key, value);
	}

	@Override
	public String getProperty(String key) {
		return props.get(key);
	}

}
